package kiit.actors

/**
 * Represents the different "states" a @see[Managed] actor can be in
 */
sealed class Status(val name: String, val value: Int) {
    object InActive : Status("InActive", 0)
    object Started : Status("Started", 1)
    object Waiting : Status("Waiting", 2)
    object Running : Status("Running", 3)
    object Paused : Status("Paused", 4)
    object Stopped : Status("Stopped", 5)
    object Completed : Status("Completed", 6)
    object Failed : Status("Failed", 7)
    object Killed : Status("Killed", 8)
}
